<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<title>form提交</title>
	<link rel="stylesheet" href="../libs/layui/css/layui.css">
	<!-- <link rel="stylesheet" href="../css/submit.css"> -->
</head>

<body>
	<div class="layui-card">
		<div class="layui-card-header">
			form提交
		</div>
		<div class="layui-card-body">
			<form class="layui-form" lay-filter="formVal">
				<!-- <form class="layui-form layui-form-pane"> -->
				<!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
				<div class="layui-row layui-col-space30">
					<div class="layui-col-md12">
						<div class="layui-form-item">
							<label class="layui-form-label">用户名</label>
							<div class="layui-input-block">
								<input type="text" name="username" placeholder="请输入" autocomplete="off" class="layui-input" lay-verify="username" lay-verType="tips">
								<blockquote class="layui-elem-quote">
									required：注册浏览器所规定的必填字段<br>
									verify：注册form模块需要验证的类型<br>
									class="layui-input"：layui.css提供的通用CSS类<br>
								</blockquote>
							</div>
						</div>
						<div class="layui-form-item">
							<div class="layui-input-block">
								<button class="layui-btn" lay-submit lay-filter="submitDetial">立即提交</button>
								<button type="reset" class="layui-btn layui-btn-primary">重置</button>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
	<script src="../libs/layui/layui.js"></script>
	<script src="../js/submit.js"></script>
</body>

</html>
